/* RESET */
*{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}


/* HEADER */

header{
    height: 100px;
    background: blue;
    padding: 0 50px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    text-transform: uppercase;
    color: white;
    font-weight: 200;
}

.menu a{
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;
}

.mostrar-menu,
.esconder-menu{
    font-size: 30px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
}

.mostrar-menu{
    order:1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover{
    color: lightblue;
}

#check{
    display: none;
}

/* BANNER */

#banner{
    padding: 0 50px;
    background-image: url(./imagenes/banner.jpg);
    height: 45vh;
    background-size: cover;
    background-position: center;
}

#banner::before{
    content: '';
    background: rgba(77,77,92, 0.6);
    position: absolute;
    width: 100%;
    height: 45vh;
    left: 0;
}
.contenido-banner{
    position: relative;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.contenido-banner h3{
    font-size: 30px;
    font-weight: 400;
    padding: 10px 0px;
}
.contenido-banner h3 span{
    font-weight: 600;

}

.boton-empezar{
    text-decoration: none;
    color: #fff;
    border: 1px solid white;
    padding: 20px 40px;
    align-self: baseline;
    transition: all 0.4s;
}

.boton-empezar:hover{
    background: lightblue;
}

/* MODALIDADES */

#modalidades{
    padding: 50px 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#modalidades img{
    border-radius: 100%;
}

#modalidades div{
    padding: 30px 30px;
}

#modalidades div h4{
    color: gray;
    font-size: 20px;
    margin: 15px 0px;
}

#modalidades div p{
    color: gray;
    font-size: 18px;
}

.boton-saber-mas{
    display: inline-block;
    text-decoration: none;
    color: blue;
    padding: 10px 30px;
    border: 3px solid blue;
    border-radius: 30px;
    margin-top: 15px;
    transition: all 0.4s;
}

.boton-saber-mas:hover{
    background: lightblue;
    color: blue;
}

/* ICONOS */

#iconos{
    padding: 0px 50px;
    background: rgba(77,77,92, 0.6);
}

.contenido-iconos{
    padding: 50px 50px 0px 50px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.contenido-iconos div{
    flex: 1;
    margin: 20px 0px;
    border-right: 2px solid white;

}

#icono-mobile{
    border: none;
}

.contenido-iconos div{
    color: blue;
}

.contenido-iconos div h6{
    color: white;
    font-size: 20px;
    font-weight: 100;
    margin: 10px 0px;

}

.contenido-iconos div{
    color: blue;
    font-size: 15px;
}

.boton-iconos{
    text-align: center;
    padding-bottom: 50px;
}

/* FORMULARIO */

#contacto{
    background: blue;
    padding: 50px 0px;
    color: white;
}

#contacto h4{
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

#contacto form{
    max-width: 80%;
    margin: 0 auto;
}

.datos-form{
    display: flex;
}

.datos-form div{
    padding: 10px;
    flex: 1;
}

form label{
    display: block;
    margin-bottom: 10px;
}

form input,
form textarea{
    background: blue;
    border-radius: 10px;
    border: 2px solid white;
    padding: 10px 5px;
    outline: 0;
    color: white;
    width: 100%;
}

form input:focus,
form textarea:focus{
    border-color: white;
    box-shadow: 0 0 0 1px white;
}

form input::placeholder,
form textarea::placeholder{
    color: white;
    padding: 10px;
}

.mensaje{
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.boton-formulario .boton-saber-mas{
    display: block;
    border: 1px solid white;
    color: white;
    text-align: center;
    transition: 0.4s;
}

.boton-formulario .boton-saber-mas:hover{
    background-color: lightblue;
}

/* FOOTER */

footer{
    background: blue;
    color: white;
    text-align: center;
    padding: 10px 0px;
}

/* RESPONSIVE 768 */

@media(max-width: 768px){
    /* HEADER */
    .mostrar-menu,
    .esconder-menu{
        display: block;
    }

    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: blue;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
    }

    .menu a{
        display: block;
        padding: 20px;
    }

    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ .menu{
        right: 0;
    }

    /* MODALIDADES */

    #modalidades{
        flex-direction: column;
    }

    /* ICONOS */

    .contenido-iconos{
        flex-direction: column;
    }

    .contenido-iconos div{
        border: none;
    }

    /* FORMULARIO */

    .datos-form{
        flex-direction: column;
    }

}
